<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "tmall1.type_spec".
 *
 * @property string $uid
 * @property string $type_id
 * @property string $spec_id
 * @property string $train
 */
class SpecType extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'tmall1.type_spec';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['type_id', 'spec_id', 'train'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'uid' => 'Uid',
            'type_id' => 'Type ID',
            'spec_id' => 'Spec ID',
            'train' => 'Train',
        ];
    }
}
